/* 设备检测 */
.desktop-container {
    display: block;
}

.mobile-container {
    display: none;
}

@media (max-width: 768px) {
    .desktop-container {
        display: none;
    }
    
    .mobile-container {
        display: block;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

.mobile-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 15px;
    background-color: #f5f5f5;
}

.page-title {
    text-align: center;
    font-size: 18px;
    margin: 15px 0 20px;
    font-weight: normal;
}

/* 转换选项卡片 */
.conversion-options {
    margin-bottom: 20px;
}

.option-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.option-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.option-item:hover {
    transform: scale(1.05);
}

.option-item:active {
    transform: scale(0.95);
}

.option-icon {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 5px;
    font-weight: bold;
    color: white;
}

.doc-icon {
    background-color: #0099ff;
}

.pdf-icon {
    background-color: #ff4d4d;
}

.arrow-icon {
    font-size: 24px;
    color: #999;
}

.option-name {
    font-size: 14px;
}

/* 上传区域 */
.upload-section {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.large-icon {
    width: 70px;
    height: 70px;
    font-size: 20px;
    margin: 0 auto 15px;
}

.format-support {
    margin-bottom: 20px;
    font-size: 16px;
}

.choose-file-btn {
    background-color: #00cc66;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-size: 16px;
    margin-bottom: 15px;
    width: 80%;
}

.ios-tip {
    font-size: 12px;
    color: #999;
    padding: 0 20px;
    line-height: 1.5;
}

/* 历史记录区域 */
.history-section {
    background-color: #fff;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 60px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.section-title {
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: normal;
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.history-icon {
    width: 30px;
    height: 30px;
    font-size: 12px;
}

.history-info {
    flex: 1;
    padding: 0 10px;
    text-align: left;
}

.history-name {
    font-size: 14px;
    margin-bottom: 5px;
}

.history-date {
    font-size: 12px;
    color: #999;
}

.history-action {
    background-color: #f5f5f5;
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 12px;
}

/* 提示横幅 */
.tip-banner {
    position: fixed;
    bottom: 60px;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.7);
    color: white;
    padding: 10px;
    text-align: center;
    font-size: 14px;
}

.tip-icon {
    margin-right: 5px;
}

/* 底部导航 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    display: flex;
    border-top: 1px solid #eee;
}

.nav-item {
    flex: 1;
    text-align: center;
    padding: 10px 0;
}

.nav-icon {
    font-size: 20px;
    margin-bottom: 5px;
}

.nav-text {
    font-size: 12px;
}

.nav-item.active {
    color: #00cc66;
}

/* 结果区域 */
#result {
    padding: 15px;
    text-align: center;
}

.success {
    color: #00cc66;
}

.error {
    color: #ff4d4d;
}

/* 顶部导航栏 */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 30px;
    margin-right: 10px;
}

.logo span {
    font-size: 18px;
    font-weight: bold;
    color: #0066ff;
}

.search-bar {
    display: flex;
    background-color: #f5f5f5;
    border-radius: 4px;
    overflow: hidden;
}

.search-bar input {
    padding: 8px 12px;
    border: none;
    background-color: transparent;
    width: 200px;
}

.search-btn {
    background-color: #0066ff;
    color: white;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
}

/* 内容区域 */
.content-wrapper {
    display: flex;
    height: calc(100vh - 50px);
}

/* 侧边栏 */
.sidebar {
    width: 220px;
    background-color: #fff;
    border-right: 1px solid #eee;
    padding: 20px 0;
    overflow-y: auto;
}

.tool-group {
    margin-bottom: 15px;
}

.tool-header {
    padding: 10px 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background-color 0.2s;
}

.tool-header:hover {
    background-color: #f5f5f5;
}

.arrow {
    margin-right: 10px;
    color: #666;
    transition: transform 0.2s;
}

.tool-list {
    list-style: none;
}

.tool-item {
    display: flex;
    align-items: center;
    padding: 10px 20px 10px 35px;
    cursor: pointer;
}

.tool-item.active {
    background-color: #f0f7ff;
    color: #0066ff;
}

.tool-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    background-color: #0066ff;
    color: white;
    border-radius: 4px;
    margin-right: 10px;
    font-size: 14px;
}

/* 主内容区域 */
.main-content {
    flex: 1;
    padding: 30px;
    background-color: #f4f4f9;
}

.conversion-area {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.conversion-icon {
    margin-bottom: 20px;
}

.conversion-icon img {
    width: 80px;
    height: 80px;
}

.conversion-title {
    font-size: 28px;
    margin-bottom: 10px;
    color: #333;
}

.conversion-desc {
    color: #666;
    margin-bottom: 30px;
}

.upload-area {
    margin-top: 20px;
}

.upload-box {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 40px 20px;
    background-color: #fff;
}

.upload-btn {
    background-color: #0066ff;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    margin-bottom: 15px;
}

.upload-icon {
    margin-right: 8px;
}

.upload-tip {
    color: #999;
    font-size: 14px;
}

/* 添加响应式设计 */
@media (max-width: 768px) {
    /* 顶部导航栏适配 */
    .top-header {
        flex-direction: column;
        padding: 10px;
    }
    
    .logo {
        margin-bottom: 10px;
    }
    
    .search-bar {
        width: 100%;
    }
    
    .search-bar input {
        width: 100%;
    }
    
    /* 内容区域适配 */
    .content-wrapper {
        flex-direction: column;
        height: auto;
    }
    
    /* 侧边栏适配 */
    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 10px 0;
    }
    
    /* 主内容区域适配 */
    .main-content {
        padding: 15px;
    }
    
    .conversion-title {
        font-size: 22px;
    }
    
    .upload-box {
        padding: 20px 10px;
    }
}

/* 添加下载按钮样式 */
.download-btn {
    display: inline-block;
    background-color: #0066ff;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 4px;
    margin-top: 10px;
} 